The Suspension Calculus and its Relationship to Other Explicit Treatments of Substitution in Lambda Calculi

نویسنده

  • Andrew Gacek
چکیده

The intrinsic treatment of binding in the lambda calculus makes it an ideal data structure for representing syntactic objects with binding such as formulas, proofs, types, and programs. Supporting such a data structure in an implementation is made difficult by the complexity of the substitution operation relative to lambda terms. To remedy this, researchers have suggested representing the meta level substitution operation explicitly in a refined treatment of the lambda calculus. The benefit of an explicit representation is that it allows for a fine-grained control over the substitution process, leading also to the ability to intermingle substitution with other operations on lambda terms. This insight has lead to the development of various explicit substitution calculi and to their exploitation in new algorithms for operations such as higher-order unification. Considerable care is needed, however, in designing explicit substitution calculi since within them the usually implicit operations related to substitution can interact in unexpected ways with notions of reduction from standard treatments of the lambda calculus. This thesis describes a particular realization of explicit substitutions known as the suspension calculus and shows that it has many properties that are useful in a computational setting. One significant property is the ability to combine substitutions. An earlier version of the suspension calculus has such an ability, but the complexity of the machinery realizing it in a complete form has deterred its direct use in implementations. To overcome this drawback a derived version of the calculus had been developed and used in practice. Unfortunately, the derived calculus sacrifices generality and loses a property that is important for new approaches to unification. This thesis redresses this situation by presenting a modified form of the substitution combination mechanism that retains the generality and the computational properties of the original calculus while being simple enough to use directly in implementations. These modifications also rationalize the structure of the calculus, making it possible to easily superimpose additional logical structure over it. We illustrate this capability by showing how typing in the lambda calculus can be treated in the resulting framework and by presenting a natural translation into the λσ-calculus, another well-known treatment of explicit substitutions. Another contribution of this thesis is a survey of the realm of explicit substitution calculi. In particular, we describe the computational properties that are desired in this setting and then characterize various calculi based on how well they capture these. We utilize the simplified suspension calculus in this process. In particular, we describe translations between the other popular calculi and the suspension calculus towards understanding and contrasting their relative capabilities. Finally, we discuss an elusive property of explicit substitution calculi known as preservation of strong normalization and discuss why there is hope that the suspension calculus possesses this property.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Suspension Calculus and its

The intrinsic treatment of binding in the lambda calculus makes it an ideal data structure for representing syntactic objects with binding such as formulas, proofs, types, and programs. Supporting such a data structure in an implementation is made difficult by the complexity of the substitution operation relative to lambda terms. To remedy this, researchers have suggested representing the meta ...

متن کامل

A Simplified Suspension Calculus and its Relationship to Other Explicit Substitution Calculi

This paper concerns the explicit treatment of substitutions in the lambda calculus. One of its contributions is the simplification and rationalization of the suspension calculus that embodies such a treatment. The earlier version of this calculus provides a cumbersome encoding of substitution composition, an operation that is important to the efficient realization of reduction. This encoding is...

متن کامل

Comparing and implementing calculi of explicit substitutions with eta-reduction

The past decade has seen an explosion of work on calculi of explicit substitutions. Numerous work has illustrated the usefulness of these calculi for practical notions like the implementation of typed functional programming languages and higher order proof assistants. It has also been shown that eta-reduction is useful for adapting substitution calculi for practical problems like higher order u...

متن کامل

Comparing Calculi of Explicit Substitutions with Eta-reduction

The past decade has seen an explosion of work on calculi of explicit substitutions. Numerous work has illustrated the usefulness of these calculi for practical notions like the implementation of typed functional programming languages and higher order proof assistants. Three styles of explicit substitutions are treated in this paper: the λσ and the λse which have proved useful for solving practi...

متن کامل

SUBSEXPL: A tool for Simulating and Comparing Explicit Substitutions Calculi A Tutorial

In this tutorial we present the system SUBSEXPL that is used for simulating and comparing explicit substitutions calculi. This framework was developed in Ocaml, a language of the ML family, and it allows the manipulation of expressions of the λ-calculus and of several styles of explicit substitutions calculi. Applications of this framework include: the visualisation of the contractions of the λ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/cs/0702027  شماره 

صفحات  -

تاریخ انتشار 2006